package com.eastfair.venuebooking.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.eastfair.core.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 任务~部门关系表
 * </p>
 *
 * @author linan
 * @since 2022-06-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ExhibitionTaskOrgUpdateDTO", description = "任务~部门关系表")
public class ExhibitionTaskOrgUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 校验标识
     */
    public interface Check {};

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = Check.class)
    private Long id;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Long orgId;
    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    @Size(max = 255, message = "部门名称长度不能超过255")
    private String orgName;
    /**
     * 负责人id
     */
    @ApiModelProperty(value = "负责人id")
    private Long responsibleUserId;
    /**
     * 负责人名称
     */
    @ApiModelProperty(value = "负责人名称")
    @Size(max = 255, message = "负责人名称长度不能超过255")
    private String responsibleUserName;

}
